package com.xiaoshuidi.cloud.module.member.service.activities;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.member.controller.admin.activities.vo.ActivitiesCreateVO;
import com.xiaoshuidi.cloud.module.member.controller.admin.activities.vo.ActivitiesDetailVO;
import com.xiaoshuidi.cloud.module.member.controller.admin.activities.vo.ActivityPageVO;
import com.xiaoshuidi.cloud.module.member.controller.app.activities.vo.ActivitiesListVO;

public interface MemberActivitiesService {
    /**
     * 新增活动报名
     * @param vo
     * @return
     */
    Boolean create(ActivitiesCreateVO vo);

    /**
     * 租客端当前日期展示在活动有效期的活动列表
     *
     * @return
     */
    PageResult<ActivitiesListVO> getList(PageParam pageParam);

    /**
     * 获取活动分页数据
     * @param pageVO
     * @return
     */
    PageResult<ActivitiesListVO> getPage(ActivityPageVO pageVO);

    /**
     * 获取活动详情
     * @param id
     * @return
     */
    ActivitiesDetailVO getById(Long id);

    /**
     * 编辑活动
     * @param createReqVO
     * @return
     */
    Boolean edit(ActivitiesCreateVO createReqVO);
}
